package org.wwb.antbox.user.model.menu.view;

import org.ant.commons.models.view.AbstractPageView;
import org.wwb.antbox.user.model.menu.entity.SysMenu;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @Author Bond
 * @Date: 2020/2/7 18:42
 * @Description: TODO
 */
public class SysMenuPageView extends AbstractPageView<SysMenuPageView, SysMenu, String> {

    private static final long serialVersionUID = 6893504170696946547L;

    /** 系统编号, 数据库字段：system_code */
    private String systemCode;

    /** 上级菜单编号, 数据库字段：p_menu_id */
    private String pMenuId;

    /** 菜单名称, 数据库字段：menu_name */
    private String menuName;

    /** 菜单权限编码, 数据库字段：menu_code */
    private String menuCode;

    /** 菜单类型 0 模块 1菜单 2按钮, 数据库字段：menu_type */
    private String menuType;

    /** 菜单展开状态, 数据库字段：menu_state */
    private String menuState;

    /** 菜单路径, 数据库字段：menu_url */
    private String menuUrl;

    /** 菜单图标, 数据库字段：menu_icon */
    private String menuIcon;

    /** 菜单打开方式  不设置的情况下以窗口形式打开，可选参数：_blank。, 数据库字段：menu_open_style */
    private String menuOpenStyle;

    /** 排序, 数据库字段：menu_sort */
    private Integer menuSort;

    /** 备注, 数据库字段：remark */
    private String remark;

    /** 创建人, 数据库字段：create_user_id */
    private String createUserId;

    /** 创建时间, 数据库字段：create_time */
    private Date createTime;

    /** 更新人, 数据库字段：modify_user_id */
    private String modifyUserId;

    /** 更新时间, 数据库字段：modify_time */
    private Date modifyTime;

    /** 是否删除, 数据库字段：deleted */
    private String deleted;

    private List<SysMenu> children=new ArrayList<>();

    public String getSystemCode() {
        return systemCode;
    }

    public void setSystemCode(String systemCode) {
        this.systemCode = systemCode;
    }

    public String getpMenuId() {
        return pMenuId;
    }

    public void setpMenuId(String pMenuId) {
        this.pMenuId = pMenuId;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getMenuCode() {
        return menuCode;
    }

    public void setMenuCode(String menuCode) {
        this.menuCode = menuCode;
    }

    public String getMenuType() {
        return menuType;
    }

    public void setMenuType(String menuType) {
        this.menuType = menuType;
    }

    public String getMenuState() {
        return menuState;
    }

    public void setMenuState(String menuState) {
        this.menuState = menuState;
    }

    public String getMenuUrl() {
        return menuUrl;
    }

    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl;
    }

    public String getMenuIcon() {
        return menuIcon;
    }

    public void setMenuIcon(String menuIcon) {
        this.menuIcon = menuIcon;
    }

    public String getMenuOpenStyle() {
        return menuOpenStyle;
    }

    public void setMenuOpenStyle(String menuOpenStyle) {
        this.menuOpenStyle = menuOpenStyle;
    }

    public Integer getMenuSort() {
        return menuSort;
    }

    public void setMenuSort(Integer menuSort) {
        this.menuSort = menuSort;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModifyUserId() {
        return modifyUserId;
    }

    public void setModifyUserId(String modifyUserId) {
        this.modifyUserId = modifyUserId;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getDeleted() {
        return deleted;
    }

    public void setDeleted(String deleted) {
        this.deleted = deleted;
    }

    public List<SysMenu> getChildren() {
        return children;
    }

    public void setChildren(List<SysMenu> children) {
        this.children = children;
    }
}
